<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子样式</title>
    <style>
        div{
            height: 200px;
            width: 300px;
            background-color: blueviolet;
            padding: 10px;
            margin: 10px;
            border: 5px solid red; 
            border-radius: 10px; 
            border-style:dotted;
            background-image: url(../day04/唯美意境乡间小路风光壁纸\ -\ 1.jpg);
            background-size: 100% 100%;
            background-repeat: no-repeat
            }
    </style>
</head>
<body>
    <div>hello</div>
</body>
</html>